package com.weds.data_sync.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Description 脚本分组
 * @Author lihw
 * @Date 2024/1/5 10:33
 */
@Schema(name = "ScriptGroupDto", description = "脚本分组")
@Data
public class ScriptGroupDto {

    @Schema(description = "分组id")
    private Long id;

    @Schema(description = "分组id的数组")
    private List<Long> ids;

    @NotBlank(message = "分组名称不能为空")
    @Schema(description = "分组名称")
    private String groupName;

}
